package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;

@Data
@Table(name = "ACTIVITY_Item")
public class ActivityItem extends BaseEntity {
    public final static int UNDISTRIBUTED = 0;
    public final static int DISTRIBUTION = 1;
    public final static int FAIL = 2;
    /**
     * 删除
     */
    public final static int DELETED_YES = 1;
    /**
     * 未删除
     */
    public final static int DELETED_NO = 0;
    @TableId
    private String id;
    private String knowledgeName;
    private String manuscriptName;
    private String taskId;
    private String knowledgeId;
    private String activityId;
    private String failureReason;
    private int status;
    private String path;
    private String knowledgeLibId;
    private int deleted;
    @TableField(exist = false)
    private String taskName;
    @TableField(exist = false)
    private String knowledgeLibName;
}
